﻿
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Infrastructure.Crosscutting.Authorize
{
    public interface IRoleMenuService
    {
        Domain.Entity.RoleMenu Add(Domain.Entity.RoleMenu RoleMenu, Domain.Entity.User opeUser);

        bool Delete(Domain.Entity.RoleMenu RoleMenu, Domain.Entity.User opeUser);

        bool DeleteTrue(Domain.Entity.RoleMenu RoleMenu, Domain.Entity.User opeUser);

        bool Delete(IList<int> idList, Domain.Entity.User opeUser);

        bool DeleteTrue(IList<int> idList, Domain.Entity.User opeUser);

        bool Modify(Domain.Entity.RoleMenu RoleMenu, Domain.Entity.User opeUser);

        IQueryable<Domain.Entity.RoleMenu> GetList();

        Domain.Entity.RoleMenu Get(int id);
    }
}
